home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
adikit.arc
/
DSADI.H
< prev
next >
Wrap
Text File
|
1986-12-01
|
3KB
|
77 lines
/* DSADI.H
Definitions specific to ADI Display Drivers, and to the coordinating
generic AutoCAD driver DSGEN
*/
#define INTLEVEL 3 /* Current interface level */
/* Request codes */
#define INIT1 1 /* Initialise parameters 1 */
#define INIT2 2 /* Initialise parameters 2 */
#define INIT3 3 /* Initialise parameters 3 */
#define INIT4 4 /* Initialise parameters 4 */
#define INIT5 5 /* Initialise parameters 5 */
#define TERM 9 /* Terminate */
#define CLEAR 10 /* Clear graphics screen */
#define DOT 11 /* Complement dot */
#define MOVE 12 /* Set screen cursor */
#define DRAW 13 /* Draw line */
#define FLOOD 14 /* Solid fill vertex / point */
#define MARK 15 /* Draw graphic cursor */
#define CMARK 16 /* Clear graphic cursor */
#define CHAR 20 /* Draw character on graphics screen */
#define ECHAR 21 /* End character string */
#define MHLITE 22 /* Menu highlight */
#define MDHLITE 23 /* Menu de-highlight */
#define MNUCUR 24 /* Set character address to box */
#define TPROMPT 30 /* Set character address to prompt line */
#define QPLOT 31 /* Screen dump */
#define RPEN 32 /* Read pen */
#define GOTEXT 33 /* Go to text screen */
#define GOTEXTU 34 /* Go to text screen - user request */
#define GOGRAPH 35 /* Go to graphics screen */
#define WRSPLIT 36 /* Write to split screen */
#define MODELINE 37 /* Write to mode line */
#define COORDLIN 38 /* Write to coordinate line */
#define SYNC 50 /* Flush display buffers */
#define REDRAW 51 /* Driver-local redraw */
#define DSCOMAND 52 /* Driver specific command */
#define DSXPCOMD 53 /* Driver specific transparent command */
/* Configuration bits */
#define CF_TEXT 1 /* Draw text scrolling area */
#define CF_MENU 2 /* Draw screen menu */
#define CF_STATUS 4 /* Draw status line */
/* Repaint control bits */
#define RP_STAT 1 /* Repaint status line */
#define RP_MENU 2 /* Repaint status line */
#define RP_SCROLL 4 /* Repaint scroll area */
#define RP_GRAPH 8 /* Redraw picture */
/* Driver mode bits */
#define DM_CCECH 1 /* Suppress echo of control C */
#define DM_HLEN 2 /* Driver can do highlighting */
#define DM_GROK 4 /* Driver is single screen */
/* Extended function enable bits */
#define EF_SYNC 1 /* Enable SYNC function */
#define EF_REDRAW 2 /* Enable REDRAW function */
#define EF_CMD 4 /* Enable display driver commands */
#define EF_XPCMD 8 /* Enable driver transparent commands */
/* Drawmode control bits */
#define DR_HILITE 1 /* Draw using highlighting */
#define DR_NORDRW 2 /* This line NOT a drawing entity */
/* Do not redisplay on REDRAW calls */